const express = require('express');
const router = express.Router();
const {server} = require("../../controllers");

// 验证是否注册
// router.post("/isRegister", (req, res) => server.isRegister(req, res));
// 管理员注册
router.post("/register", (req, res) => server.insertUser(req, res));
// 管理员登录
router.post("/signin", (req, res) => server.signin(req, res));

  module.exports = router;